package com.gzc.pm.dao
{
	import com.gzc.pm.bean.DetsetbBean;
	import com.gzc.pm.net.MyRoFactory;

	public class ToleranceDao
	{
		public function ToleranceDao()
		{
		}
		
		public function getInProcIds(procIdsStr:String, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('toleranceRo', resultHandler, '加载公差', 'getInProcIds', procIdsStr);
		}
		
		public function insertOrUpdateTolerance(procId:int, detsetb:DetsetbBean, usl:Number, lsl:Number, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('toleranceRo', resultHandler, '编辑检测项公差', 'insertOrUpdateTolerance', procId, detsetb, usl, lsl);
		}
		
	}
}